package com.ruoyi.service.domain;

import java.util.Date;
import com.fasterxml.jackson.annotation.JsonFormat;
import com.ruoyi.common.annotation.Excel;
import javax.validation.constraints.NotNull;
import lombok.Data;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 安全作业对象 service_work
 * 
 * @author yepanpan
 * @date 2025-05-06
 */
@Data
public class ServiceWork extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 自增长主键ID */
    private Long id;

    /** 区域 */
    @Excel(name = "区域")
    private String deptName;
    @NotNull
    private Long deptId;

    /** 类型 */
    @Excel(name = "类型", dictType="work_type", comboReadDict=true)
    @NotNull
    private String type;

    /** 位置 */
    @Excel(name = "位置")
    @NotNull
    private String position;

    /** 开始时间 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "开始时间", width = 30, dateFormat = "yyyy-MM-dd")
    @NotNull
    private Date beginTime;

    /** 结束时间 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "结束时间", width = 30, dateFormat = "yyyy-MM-dd")
    @NotNull
    private Date endTime;

    /** 作业内容 */
    @Excel(name = "作业内容")
    private String workContent;

    /** 作业人 */
    @Excel(name = "作业人")
    private String workPerson;

    /** 监督人 */
    @Excel(name = "监督人")
    private String supervisePerson;

    /** 进度 */
    @Excel(name = "进度", dictType="project_progress", comboReadDict=true)
    private String progress;

    /** 作业照片 */
    //@Excel(name = "作业照片")
    private String imgs;

    /** 作业视频 */
    //@Excel(name = "作业视频")
    private String videos;


}
